
package provider

import (

	"huanteng/web/repositories"
	"huanteng/web/services"
)

//注册放弃服务
/*var Register= struct {
	AdminService  services.AdminService
	UserService services.UserService
	RoleService services.RoleService

}{
	AdminService: services.NewAdminService(repositories.NewRepository(application.DB)),
	RoleService: services.NewRoleService(repositories.NewRoleRepository(application.DB)),
	UserService : services.NewUserService(repositories.NewUserRepository()),
}*/
//注册服务
var (

//	NewAdminService services.AdminService=services.NewAdminService(repositories.NewRepository(application.DB))
   NewUserService services.UserService =services.NewUserService(repositories.NewUserRepository())
   NewRoleService services.RoleService=services.NewRoleService(repositories.NewRoleRepository(application.DB))
   // :
)
